﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CommunitySystemModel.AdvancedCustomerQuery
{
    [Serializable]
    [DataContract]
    public class Query_ColumnsSelection
    {
        private int _ID;
        [DataMember]
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private int _CustomerQueryID;
        [DataMember]
        public int CustomerQueryID
        {
            get { return _CustomerQueryID; }
            set { _CustomerQueryID = value; }
        }

        private string _ColumnName
;
        [DataMember]
        public string ColumnName
        {
            get { return _ColumnName; }
            set { _ColumnName = value; }
        }


        private string _ColumnCode;
        [DataMember]
        public string ColumnCode
        {
            get { return _ColumnCode; }
            set { _ColumnCode = value; }
        }

        private string _ColumnType;
        [DataMember]
        public string ColumnType
        {
            get { return _ColumnType; }
            set { _ColumnType = value; }
        }

        private int _ColumnID;
        [DataMember]
        public int ColumnID
        {
            get { return _ColumnID; }
            set { _ColumnID = value; }
        }

        private string _ColumnOrRow;
        [DataMember]
        public string ColumnOrRow
        {
            get { return _ColumnOrRow; }
            set { _ColumnOrRow = value; }
        }

        private int _Level;
        [DataMember]
        public int ColumnLevel
        {
            get { return _Level; }
            set { _Level = value; }
        }


        private System.Collections.ObjectModel.ObservableCollection<Query_ColumnValue> _values = new System.Collections.ObjectModel.ObservableCollection<Query_ColumnValue>();
        [DataMember]
        public System.Collections.ObjectModel.ObservableCollection<Query_ColumnValue> values
        {
            get { return _values; }
            set { _values = value; }
        }

        private string _ColumnTable;
        [DataMember]
        public string ColumnTable
        {
            get { return _ColumnTable; }
            set { _ColumnTable = value; }
        }
        
        
        
    }
}
